<template>
  <input value="modelValue" @input="inputHandler"  />
</template>

<script>
export default {
  props: ["modelValue"],
  methods: {
    inputHandler(e) {
      this.$emit("update:modelValue", e.target.value);
    }
  }
};
</script>